package com.example.hotel.ease.pojo.entity;

import lombok.Data;
import java.io.Serializable;
import java.time.LocalDateTime;

@Data
public class User implements Serializable {
    private Long id;
    private String username;
    private String password;
    private String familyName;
    private String givenName;
    private Integer gender;
    private String phoneNumber;
    private Integer type;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;

    public interface UserType {
        Integer ADMIN = 0;
        Integer MEMBER = 1;
    }
}
